package ca.etsmtl.log430.lab3;

/**
 * This class defines the Student object for the system.
 * 
 * @author A.J. Lattanze, CMU
 * @version 1.2, 2011-Feb-24
 */

/*
 * Modification Log **********************************************************
 * 
 * v1.2, R. Champagne, 2011-Feb-24 - Various refactorings, conversion of
 * comments to javadoc format.
 * 
 * v1.1, R. Champagne, 2002-Jun-19 - Adapted for use at ETS.
 * 
 * v1.0, A.J. Lattanze, 12/29/99 - Original version.
 * ***************************************************************************
 */

public class Student {
	/** Student's Last Name */
	private String lastName;

	/** Student's First Name */
	private String firstName;

	/** Students identification number */
	private String studentID;

	/** Program of study */
	private String program;

	/** List of courses taken by the student */
	private CourseList coursesTakenList = new CourseList();

	/** List of courses the student is registered for */
	private CourseList coursesRegistered = new CourseList();

	/**
	 * This method registers a student for a course by adding a student for a
	 * course.
	 * 
	 * @param courseObject
	 */
	public void register(Course courseObject) {
		coursesRegistered.addCourse(courseObject);
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getStudentID() {
		return studentID;
	}

	public void setStudentID(String studentID) {
		this.studentID = studentID;
	}

	public String getProgram() {
		return program;
	}

	public void setProgram(String program) {
		this.program = program;
	}

	public CourseList getCoursesTakenList() {
		return coursesTakenList;
	}

	public void setCoursesTakenList(CourseList coursesTakenList) {
		this.coursesTakenList = coursesTakenList;
	}

	public CourseList getCoursesRegistered() {
		return coursesRegistered;
	}

	public void setCoursesRegistered(CourseList coursesRegistered) {
		this.coursesRegistered = coursesRegistered;
	}
}
